package com.googlecode.antilopebpm.variable.instance;

import com.googlecode.antilopebpm.variable.VariableInstance;

public class DoubleInstance extends VariableInstance {

	private static final long serialVersionUID = 1L;

	protected Double value = null;

	public boolean isStorable(Object value) {
		if (value == null)
			return true;
		return (Double.class == value.getClass());
	}

	public Object getObject() {
		return value;
	}

	public void setObject(Object value) {
		this.value = (Double) value;
	}
}
